package com.xialinrui.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.sql.Date;


/**
 * @author xialinrui
 */
@Data
@AllArgsConstructor
public class Acquirement implements Serializable {
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Date date;
    @JsonSerialize(using = ToStringSerializer.class)
    private Double moneyNumbers;
    private Integer loveNumbers;
    private Integer studyTime;

}
